/**  
 * @Title: UserService.java
 * @Package com.xzit.tmms.service.user
 * @Description: TODO
 * @author 董亮亮
 * @date 2016年6月23日 上午8:34:44
 * @version V1.0  
 */
package com.xzit.tmms.service.user;

import java.util.Map;

import com.xzit.tmms.bean.user.User;
import com.xzit.tmms.common.exception.ServiceException;
import com.xzit.tmms.common.page.Page;

/**
 * @ClassName: UserService
 * @Description: TODO
 * @author 董亮亮
 * @date 2016年6月23日 上午8:34:44
 */
public interface UserService {

	public void addUser(User user) throws ServiceException;

	public Page<Map<String, Object>> queryUser(Page<Map<String, Object>> page) throws ServiceException;
	
	public void deleteUser(Integer userId) throws ServiceException;
	
	public User getUserById(Integer userId) throws ServiceException;
	
	public void updateUser(User user) throws ServiceException;
	
	public Map<String, Object> getUserByAccount(String account) throws ServiceException;
}
